<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title></title>
    <link rel="stylesheet" href="/css/wmd.css" type="text/css" />
  </head>
  <body>
    <hr />
    <form method="post" action="/user/register">
        <table>
            <tr>
                <th>邮箱</th>
                <td><input type="text" name="email" value="{$userinfo.email}" /><span>{$reg_error.mail}</span></td>
            </tr>
            <tr>
                <th>密码</th>
                <td><input type="password" name="passwd" value="{$userinfo.passwd}" /><span>{$reg_error.passwd}</span></td>
            </tr>
            <tr>
                <th>确认密码</th>
                <td><input type="password" name="passwd2" value="{$userinfo.passwd2}" /></td>
            </tr>
            <tr>
                <th></th>
                <td><button type="submit">注册</button></td>
            </tr>
        </table>
    </form>
  </body>
</html>
